package com.yuyou.train.lesson.service;

import java.util.List;

import com.yuyou.train.service.api.lesson.entity.LessonClassUserRelation;

public interface ILessonClassUserRelationService {
    int deleteByPrimaryKey(String id);
    
    int deleteByClassIdAndType(String classId,String type);

    int insert(LessonClassUserRelation record);

    LessonClassUserRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LessonClassUserRelation record);

    
    List<LessonClassUserRelation> findLessClsUserRelation(LessonClassUserRelation record);

    LessonClassUserRelation selectLastFinishClass(String userId);
}